package com.dragon.modules.yuegou.excel.member;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDateTime;
import java.util.List;

@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\member\\opinion.xlsx")
public class OpinionWorkbook {
	@ExcelSheet
	@JsonProperty("会员信息表")
	private List<OpinionRow> opinion;

	public static class OpinionRow {

		@JsonProperty("手机号")
		private String mobile;
		
		@JsonProperty("反馈内容")
		private String content;
		
		@JsonProperty("提交时间")
		private LocalDateTime createdTime;

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getContent() {
			return content;
		}

		public void setContent(String content) {
			this.content = content;
		}

		public LocalDateTime getCreatedTime() {
			return createdTime;
		}

		public void setCreatedTime(LocalDateTime createdTime) {
			this.createdTime = createdTime;
		}
	}

	public List<OpinionRow> getOpinion() {
		return opinion;
	}

	public void setOpinion(List<OpinionRow> opinion) {
		this.opinion = opinion;
	}
}
